﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebQuyPhong.Admin.Default" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Đăng nhập</title>
	<link href="../css/bootstrap.min.css" rel="stylesheet">
	<link href="../css/style.css" rel="stylesheet">
</head>

<body>
	<div class="container login-form">
		<h1>
			<span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
			Đăng nhập
		</h1>
		<form role="form" id="form1" runat="server">
			<div class="form-group">
				<label for="txtUsername">Tên Truy Cập<asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername" 
                    Display="Dynamic" ErrorMessage="Chưa nhập tên truy cập" ForeColor="Red">*</asp:RequiredFieldValidator>
                </label>
                &nbsp;<asp:TextBox ID="txtUsername" CssClass="form-control" placeholder="Vui lòng nhập tên truy cập" runat="server"></asp:TextBox>
			</div>
			<div class="form-group">
				<label for="txtPass">Mật khẩu<label for="txtUsername"><asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPass" 
                    Display="Dynamic" ErrorMessage="Chưa nhập mật khẩu" ForeColor="Red">*</asp:RequiredFieldValidator>
                </label>
                </label>
                &nbsp;<asp:TextBox ID="txtPass" CssClass="form-control" placeholder="Vui lòng nhập mật khẩu" runat="server" TextMode="Password"></asp:TextBox>
			</div>
            <asp:Button ID="btnLogin" CssClass="btn btn-primary" runat="server" 
                Text="Đăng nhập" onclick="btnLogin_Click" />
			<button type="reset" class="btn btn-default">Hủy bỏ</button>
            <br />
            <asp:CustomValidator ID="CustomValidator1" runat="server" 
                ErrorMessage="Sai tên truy cập hoặc mật khẩu " Visible="False">*</asp:CustomValidator>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
		</form>
	</div>

	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
	<script src="../js/bootstrap.min.js"></script>
</body>
</html>
